You are here: Understanding the Meridian functions > FormatSequenceNum function

FormatSequenceNum function

Returns a number converted into a string and optionally prefixes zeros until the specified string length is reached.

Syntax

FormatSequenceNum(Value As Long, [Length As Long = 0]) As String 
Parameters
Name Description

Value

The number to convert.

Length

The total length of the string to create.

Remarks

Use this function to format sequence numbers to a standard-length string for use in calculating document, folder, or work area names.

Related concepts

Understanding the Meridian functions